package extmodule;

import game.Action;

/**
 * Implements an external feed module using JNI.
 * @author Witthold/Korol
 */
public class JNI_Feed implements IF_ExtModule_Feed {
	
	public native boolean initModule(int[] betSizes, int[] betStructure, int[] blindStructure, int ante, String playerNames, int[] cashOfPlayer); 
	
	public native void newHand(int button);

	public native void newHoleCards(int player, int[] cards);

	public native void newAction(Action action);

	public native void newRound(int round, int[] newCards);

	public native void showdown(int player, int gain);
}
